﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/2/6 22:23:12
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 公民信息实体
    /// </summary>
    [Serializable()]
    [DataContract]
    public class S7_Citizen : Entity
    {
        #region Inner members
        private long _uniqueId;
        private string _cardId;
        private string _firstName;
        private string _lastName;
        private DateTime _birthday;
        private string _userName;
        private string _password;
        private string _mobilePhone;
        private string _telephone;
        private string _personalId;
        private string _gender;
        private string _residence;
        private string _address;
        #endregion

        #region Accessor

        /// <summary>
        /// 获取或设置公民唯一编号
        /// </summary>
        [DataMember]
        public long UniqueId
        {
            get { return _uniqueId; }
            set { _uniqueId = value; }
        }

        /// <summary>
        /// 获取或设置磁卡编号
        /// </summary>
        [DataMember]
        public string CardId
        {
            get { return _cardId; }
            set { _cardId = value; }
        }

        /// <summary>
        /// 获取或设置名
        /// </summary>
        [DataMember]
        public string FirstName
        {
            get { return _firstName; }
            set { _firstName = value; }
        }

        /// <summary>
        /// 获取或设置姓
        /// </summary>
        [DataMember]
        public string LastName
        {
            get { return _lastName; }
            set { _lastName = value; }
        }

        /// <summary>
        /// 获取或设置出生年月
        /// </summary>
        [DataMember]
        public DateTime Birthday
        {
            get { return _birthday; }
            set { _birthday = value; }
        }

        /// <summary>
        /// 获取或设置系统登录用户名
        /// </summary>
        [DataMember]
        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        /// <summary>
        /// 获取或设置密码
        /// </summary>
        [DataMember]
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        /// <summary>
        /// 获取或设置移动电话
        /// </summary>
        [DataMember]
        public string MobilePhone
        {
            get { return _mobilePhone; }
            set { _mobilePhone = value; }
        }

        /// <summary>
        /// 获取或设置固定电话
        /// </summary>
        [DataMember]
        public string Telephone
        {
            get { return _telephone; }
            set { _telephone = value; }
        }

        /// <summary>
        /// 获取或设置身份证编号
        /// </summary>
        [DataMember]
        public string PersonalId
        {
            get { return _personalId; }
            set { _personalId = value; }
        }

        /// <summary>
        /// 获取或设置性别
        /// </summary>
        [DataMember]
        public string Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        /// <summary>
        /// 获取或设置现居住地址
        /// </summary>
        [DataMember]
        public string Residence
        {
            get { return _residence; }
            set { _residence = value; }
        }

        /// <summary>
        /// 获取或设置户籍地址
        /// </summary>
        [DataMember]
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }
        #endregion
    }
}
